import React from 'react';
import cls from './index.module.less';

interface LoadingViewType {
  text?: string;
}
const LoadingView2: React.FC<LoadingViewType> = ({ text = '数据加载中...' }) => {
  return (
    <div className={cls['loading-page']}>
      <div className={cls['load_keyframes_body']}>
        <div className={cls['load_keyframes_content']}>
          <div></div>
          <div></div>
          <div></div>
          <div></div>
        </div>
      </div>
      <p className={cls['loading-text']}>{text}</p>
    </div>
  );
};

export default LoadingView2;
